// 对象的可选属性
// axios({})
type Gender = '男' | '女' | 'x' | 'y'

type Student = {
  name: string
  gender: Gender
  score?: number // 分数这个属性是可选的
  height: number
  // 函数签名
  study:() => void
}


const s1: Student = {
  name: '小花',
  height: 170,
  study: () => {},
  gender: "男"
}
export {}